Method, device and storage medium for setting position of function setting key of mobile terminal

ABSTRACT

Described are a method, a device and a storage medium for setting a position of a function setting key of a mobile terminal, belonging to the computer field. The method includes obtaining display information and trigger event information of a function setting key of a target application, and setting each function setting key in a page of a notification center. When an order for opening the notification center is received, the method further includes displaying each function setting key in the page of the notification center, according to the display information of each function setting key. When it is detected that an operation to the function setting key displayed in the page of the notification center matches a trigger operation recorded in the trigger event information of the function setting key, the method may perform the corresponding processing procedure, according to the trigger event information of the function setting key.

RELATED APPLICATION

The present application is a continuation application ofPCT/CN2013/087946, filed on Nov. 27, 2013, and titled “METHOD, DEVICEAND STORAGE MEDIUM FOR SETTING POSITION OF FUNCTION SETTING KEY OFMOBILE TERMINAL”, which claims priority to Chinese Patent ApplicationNo. 201310049640.7, titled “METHOD AND DEVICE FOR SETTING POSITION OFFUNCTION SETTING KEY OF MOBILE TERMINAL”, filed by Tencent Technology(Shenzhen) Company Limited on Feb. 7, 2013, which are both incorporatedherein by reference in their entireties.

FIELD OF THE TECHNOLOGY

The present disclosure relates to the field of computers, and inparticular, to a method and a device for setting a position of afunction setting key of a mobile terminal, and a storage medium.

BACKGROUND OF THE DISCLOSURE

With rapid development of mobile terminal technologies, applicationprograms installed on a mobile terminal can provide more abundant systemsetting functions, and more corresponding function setting items appearas well. For example, an application program such as a mobile phonemanager includes setting items of various system functions, and a usercan set a corresponding function in the application program.

In an application program, many functions are provided withcorresponding function setting keys, which are used for rapidly settingcorresponding system functions. By operating a function setting key, auser can trigger rapid setting for a corresponding function.

Function setting keys of various functions provided by an applicationprogram can be operated only after the application program is run. Inaddition, many function setting keys are set at a deeper position, andcan be found only by means of multiple click operations, which affectsefficiency of system function setting to some extent.

SUMMARY

Embodiments of the present invention provide a method and a device forsetting a position of a function setting key of a mobile terminal, and astorage medium, so as to improve efficiency of system function setting.The technical solutions are as follows:

According to one aspect, a method for setting a position of a functionsetting key of a mobile terminal is provided, including:

acquiring display information and trigger event information of afunction setting key in a target application program;

setting the function setting key onto a page of a notification centeraccording to the acquired display information and trigger eventinformation of the function setting key;

displaying, when receiving an instruction for opening the notificationcenter, the function setting key on the page of the notification centeraccording to the display information of the function setting key; and

executing corresponding processing according to the trigger eventinformation of the function setting key, when a detected operation onthe function setting key displayed on the page of the notificationcenter conforms to a trigger operation recorded in the trigger eventinformation of the function setting key.

According to another aspect, a device for setting a position of afunction setting key of a mobile terminal is provided, including atleast one processor and a memory having processor-executableinstructions stored therein, and the instructions when executed by theat least one processor, configure the device to:

acquire display information and trigger event information of a functionsetting key in a target application program;

set the function setting key onto a page of a notification centeraccording to the acquired display information and trigger eventinformation of the function setting key;

display, when receiving an instruction for opening the notificationcenter, the function setting key on the page of the notification centeraccording to the display information of the function setting key; and

execute corresponding processing according to the trigger eventinformation of the function setting key, when a detected operation onthe function setting key displayed on the page of the notificationcenter conforms to a trigger operation recorded in the trigger eventinformation of the function setting key.

According to still another aspect, a non-transitory computer-readablestorage medium including a computer executable instruction is provided,when executed by a computer processor, the computer executableinstruction configures the mobile terminal to set a position of afunction setting key, by performing:

acquiring display information and trigger event information of afunction setting key in a target application program;

setting the function setting key onto a page of a notification centeraccording to the acquired display information and trigger eventinformation of the function setting key;

displaying, when receiving an instruction for opening the notificationcenter, the function setting key on the page of the notification centeraccording to the display information of the function setting key; and

executing corresponding processing according to the trigger eventinformation of the function setting key, when a detected operation onthe function setting key displayed on the page of the notificationcenter conforms to a trigger operation recorded in the trigger eventinformation of the function setting key.

In the method and device for setting a position of a function settingkey of a mobile terminal, and the storage medium that are provided bythe embodiments of the present invention, display information andtrigger event information of a function setting key in a targetapplication program are acquired, and the corresponding function settingkey is set onto a page of a notification center according to theacquired information; when the notification center is opened, thefunction setting key can be displayed on the page of the notificationcenter, and the function setting key can be operated on the page of thenotification center, so that a corresponding system function can be setin the notification center, thereby improving efficiency of systemfunction setting.

BRIEF DESCRIPTION OF THE DRAWINGS

To describe the technical solutions in the embodiments of the presentinvention more clearly, the following briefly introduces theaccompanying drawings required for describing the embodiments.Certainly, the accompanying drawings in the following description showonly some embodiments of the present invention, and a person of ordinaryskill in the art may still make modification and replacement on theseaccompanying drawings without creative work.

FIG. 1 illustrates a flowchart of a method for setting a position of afunction setting key of a mobile terminal according to an embodiment ofthe present invention;

FIG. 2 illustrates a schematic diagram of a setting page according to anembodiment of the present invention;

FIG. 3a and FIG. 3b illustrate schematic diagrams of a page of anotification center according to an embodiment of the present invention;and

FIG. 4 illustrates a schematic structural diagram of a device forsetting a position of a function setting key of a mobile terminalaccording to an embodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

The following clearly and completely describes the technical solutionsin the embodiments of the present invention with reference toaccompanying drawings. Apparently, the described embodiments are a fewembodiments of the present invention rather than all embodiments. Theseembodiments are merely used for describing the principle of the presentdisclosure, but are not intended to limit the scope of the presentdisclosure. All other embodiments obtained by a person of ordinary skillin the art based on the embodiments of the present invention withoutcreative work shall fall within the protection scope of the presentdisclosure.

Embodiment 1

This embodiment of the present invention provides a method for setting aposition of a function setting key of a mobile terminal. As shown inFIG. 1, a process of the method may include the following step 101 tostep 104:

Step 101: Acquire display information and trigger event information of afunction setting key in a target application program.

Step 102: Set the function setting key onto a page of a notificationcenter according to the acquired display information and trigger eventinformation of the function setting key.

Step 103: Display, when receiving an instruction for opening thenotification center, the function setting key on the page of thenotification center according to the display information of the functionsetting key.

Step 104: Execute, when a detected operation on the function setting keydisplayed on the page of the notification center conforms to a triggeroperation recorded in the trigger event information of the functionsetting key, corresponding processing according to the trigger eventinformation of the function setting key.

In this embodiment of the present invention, display information andtrigger event information of a function setting key in a targetapplication program are acquired, and the corresponding function settingkey is set onto a page of a notification center according to theacquired information; when the notification center is opened, thefunction setting key may be displayed on the page of the notificationcenter, and the function setting key can be operated on the page of thenotification center, so that a corresponding system function can be setin the notification center, thereby improving efficiency of systemfunction setting.

Embodiment 2

This embodiment of the present invention provides a method for setting aposition of a function setting key of a mobile terminal. The method maybe executed by a mobile terminal. Preferably, the method may be appliedin the iOS (an operating system of a handheld mobile terminal developedby Apple Inc.). The following describes in detail an implementationprocess in conjunction with FIG. 1.

Step 101: Acquire display information and trigger event information of afunction setting key in a target application program. The displayinformation is data information used for rendering an icon of thefunction setting key. The trigger Fevent information is information usedfor defining a triggering manner of the function setting key andprocessing after triggering. The target application program may be anapplication program (for example, an application program such as amobile phone manager) installed in a system, and one or more functionsetting keys are configured in the target application program.

As for the triggering manner, a function setting key in a left/righttoggle control mode may be used, or a function setting key in a clickcontrol mode may also be used. For example, for a function item withonly two choices, which are enable and disable, if a function settingkey in a left/right toggle control mode is used, a correspondingfunction is enabled accordingly when the function setting key isswitched to one side, and the corresponding function is disabledaccordingly when the function setting key is switched to the other side;if a function setting key in a click control mode is used, acorresponding function is disabled when the function setting key isclicked in a function enabled state, and the corresponding function isenabled when the function setting key is clicked in a function disabledstate. For another example, for a function item with a plurality ofselectable tap positions, if a function setting key in a left/righttoggle control mode is used, different positions where the key isswitched respectively correspond to different tap positions of thefunction; if a function setting key in a click control mode is used, aswitch between tap positions for the function is performed after eachclick on the function setting key. Preferably, a function setting key ina click control mode is used in this embodiment of the presentinvention.

In this step, display information and trigger event informationcorresponding to all function setting keys in the target applicationprogram may be acquired, or display information and trigger eventinformation corresponding to some function setting keys in the targetapplication program may be selected to be acquired.

Specifically, a selected function setting key may include one or more ofthe following function setting keys, that is, one or any combination ofa brightness adjustment key, a lock screen key, a flashlight switch, amute switch, a volume-up key, a volume-down key, a power-off key, arestart key, and a logout key. In addition to the function setting keyin the target application program, display information and trigger eventinformation corresponding to a function setting key in some systemsetting items may also be selected to be acquired, such as a WirelessFidelity (WiFi) function key, a data function key, a locating functionkey, a Bluetooth function key, a flight mode switch, a 3rd GenerationTelecommunication (3G) function key, and a rotation lock switch.

The brightness adjustment key is used for controlling, by detecting aclick operation on the brightness adjustment key, screen brightness toswitch between preset brightness levels. For example, the brightness isincreased by one level after each click on the brightness adjustmentkey, and is switched to the lowest brightness level after a click on thebrightness adjustment key at the highest brightness level; or, thebrightness adjustment key is used for controlling, by detecting durationof a press operation on the brightness adjustment key, screen brightnessto change with increase of duration. For example, the brightness may begradually increased when the brightness adjustment key is pressed, andmay be switched to the lowest level when the brightness adjustment keyis pressed at the highest brightness level. The lock screen key is usedfor triggering screen lock of a mobile terminal after a click. Theflashlight switch is used for controlling a photoflash to continuouslyglow (which may be used as a flashlight) or to be turned off. The muteswitch is used for enabling and disabling a mute mode. The volume-up keyis used for controlling the volume to increase, and the volume isincreased by one level after each click on the key. The volume-down keyis used for controlling the volume to reduce, and the volume is reducedby one level after each click on the key. The power-off key is used fortriggering turning off a mobile terminal after a click. The restart keyis used for triggering restart of a mobile terminal after a click. Thelogout key is used for triggering logout of a mobile terminal after aclick.

The system may automatically set the function setting keys, whosedisplay information and trigger event information are acquired, in thetarget application program. Specifically, function setting keys usedmore frequently are displayed in a window according to statistics ongeneral use frequencies of various application programs.

In addition, preferably, an execution process of step 101 may include:receiving a key setting request, where the key setting request carries afunction setting key identifier; and acquiring display information andtrigger event information of a function setting key, corresponding tothe function setting key identifier, in the target application program.

Specifically, each function setting key may be provided with acorresponding function setting key identifier, and a mobile terminal maystore a function setting key identifier corresponding to each functionsetting key, and after receiving a key setting request, the mobileterminal may acquire display information and trigger event informationof a function setting key corresponding to the function setting keyidentifier.

Step 102: Set the function setting key onto a page of a notificationcenter according to the acquired display information and trigger eventinformation of the function setting key. The notification center is adisplay window for system notification messages, and can be openedthrough triggering by a pull-down operation on a state bar at the top ofthe desktop. The notification center is generally used for displaying anotification message of a system or an application. For example, a shortmessage service notification, a WeChat notification, a missed callnotification, and the like.

Specifically, display information and trigger event information of eachfunction setting key may be added to data of the page of thenotification center, to re-generate and store a page of a notificationcenter. Data of the re-generated page of the notification centerincludes data information used for rendering a function setting key, andinformation used for defining how to trigger a function setting key andperform processing after triggering.

Preferably, the key setting request may further carry sequenceinformation corresponding to the function setting key identifier. Eachfunction setting key identifier may correspond to one piece of sequenceinformation. In this way, when the function setting key is set onto thepage of the notification center, function setting keys on the page ofthe notification center are arranged according to the sequenceinformation. The function setting keys may be arranged according tocorresponding sequence information. The sequence information may be asequence number, and the function setting keys may be arranged accordingto the sequence numbers.

In this embodiment of the present invention, a setting page (refer toFIG. 2) may be provided in the target application program. The settingpage is used for setting a function setting key displayed on the page ofthe notification center. The setting page may display icons of allfunction setting keys in the target application program, or may alsodisplay icons of function setting keys in a system setting item of amobile terminal (if the number is too large, display in pages may beadopted), and a check box for each icon may be set. When clicking anicon, a user checks an unchecked icon, or unchecks a checked icon. Inthis page, a checked icon may be automatically arranged in a frontposition, so that when performing a long-press on a checked icon, theuser may drag the icon to a different position, thereby arranging thechecked icon. In this way, after the user sets an application program, acorresponding function setting key identifier may be determinedaccording to a checked icon, and corresponding sequence information mayalso be determined according to a sequence of the checked icon, so thata key setting request is generated according to the determined functionsetting key identifier and sequence information, and is sent to aprocessor to perform the foregoing processing.

In the setting page, a notification center key display switch may alsobe provided, so as to control display of enabling and disabling afunction of a function setting key on the notification center. An optionof the number of lines of displayed keys may also be set, so as to setthe number of lines of function setting keys displayed on the page ofthe notification center.

Step 103: Display, when receiving an instruction for opening thenotification center, the function setting key on the page of thenotification center according to the display information of the functionsetting key.

The instruction for opening the notification center may be triggered bya pull-down operation on a state bar at the top of the desktop.

In this embodiment of the present invention, FIG. 3a and FIG. 3billustrate a schematic diagram of display of a function setting key onthe page of the notification center. When there are a large number offunction setting keys, the function setting keys may be displayed indifferent pages. For example, FIG. 3a and FIG. 3b respectivelyillustrate a first page and a second page of the display in pages.

Step 104: Execute, when a detected operation on the function setting keydisplayed on the page of the notification center conforms to a triggeroperation recorded in the trigger event information of the functionsetting key, corresponding processing according to the trigger eventinformation of the function setting key.

Specifically, the trigger event information of the function setting keymay record a trigger operation for triggering the function setting key(for example, a click operation on a function setting key), and alsorecord processing executed after the function setting key is triggered.If a detected operation matches a recorded trigger operation,corresponding processing is executed.

In this embodiment of the present invention, a shortcut icon of anapplication program may also be set onto the page of the notificationcenter. Specifically, display information and trigger event informationof the shortcut icon of the application program may be acquired, and theshortcut icon is set onto the page of the notification center accordingto the acquired display information and trigger event information of theshortcut icon; when an instruction for opening the notification centeris received, the shortcut icon is displayed on the page of thenotification center according to the display information of the shortcuticon; and when a detected operation on a shortcut icon displayed on thepage of the notification center conforms to a trigger operation recordedin the trigger event information of the shortcut icon, the applicationprogram corresponding to the shortcut icon is executed. A shortcut iconis a button for starting an application program. A correspondingapplication program may be started by using a shortcut icon. A shortcuticon of a frequently used application program provided in thenotification center enables the shortcut icon of the frequently usedapplication program to be conveniently and rapidly found.

In this embodiment of the present invention, display information andtrigger event information of a function setting key in a targetapplication program are acquired, and the corresponding function settingkey is set onto a page of a notification center according to theacquired information; when the notification center is opened, thefunction setting key can be displayed on the page of the notificationcenter, and the function setting key can be operated on the page of thenotification center, so that a corresponding system function can be setin the notification center, thereby improving efficiency of systemfunction setting.

Embodiment 3

Based on the same technical concept, this embodiment of the presentinvention further provides a device for setting a position of a functionsetting key of a mobile terminal. The device may be configured toexecute the methods provided in Embodiment 1 and Embodiment 2 forsetting a position of a function setting key of a mobile terminal. Asshown in FIG. 4, the device includes:

an acquisition module 410, configured to acquire display information andtrigger event information of a function setting key in a targetapplication program;

a setting module 420, configured to set the function setting key onto apage of a notification center according to the acquired displayinformation and trigger event information of the function setting key;

a display module 430, configured to display, when receiving aninstruction for opening the notification center, the function settingkey on the page of the notification center according to the displayinformation of the function setting key; and

an execution module 440, configured to execute, when a detectedoperation on the function setting key displayed on the page of thenotification center conforms to a trigger operation recorded in thetrigger event information of the function setting key, correspondingprocessing according to the trigger event information of the functionsetting key.

The function setting key includes one or any combination of a brightnessadjustment key, a lock screen key, a flashlight switch, a mute switch, avolume-up key, a volume-down key, a power-off key, a restart key, and alogout key.

Preferably, the brightness adjustment key is configured to:

control, by detecting a click operation on the brightness adjustmentkey, screen brightness to switch between preset brightness levels; or

control, by detecting duration of a press operation on the brightnessadjustment key, screen brightness to change with increase of theduration.

Preferably, the acquisition module 410 is specifically configured to:

receive a key setting request, where the key setting request carries afunction setting key identifier; and

acquire display information and trigger event information of a functionsetting key, corresponding to the function setting key identifier, inthe target application program.

Preferably, the key setting request further carries sequence informationcorresponding to the function setting key identifier; and

the setting module 420 is further configured to arrange the functionsetting key on the page of the notification center according to thesequence information.

Preferably, the acquisition module 410 is further configured to acquiredisplay information and trigger event information of a shortcut icon ofan application program;

the setting module 420 is further configured to set the shortcut icononto the page of the notification center according to the acquireddisplay information and trigger event information of the shortcut icon;

the display module 430 is further configured to display, when receivingan instruction for opening the notification center, the shortcut icon onthe page of the notification center according to the display informationof the shortcut icon; and

the execution module 440 is further configured to execute, when adetected operation on the shortcut icon displayed on the page of thenotification center conforms to a trigger operation recorded in thetrigger event information of the shortcut icon, an application programcorresponding to the shortcut icon.

In this embodiment of the present invention, display information andtrigger event information of a function setting key in a targetapplication program are acquired, and the corresponding function settingkey is set onto a page of a notification center according to theacquired information; when the notification center is opened, thefunction setting key can be displayed on the page of the notificationcenter, and the function setting key can be operated on the page of thenotification center, so that a corresponding system function can be setin the notification center, thereby improving efficiency of systemfunction setting.

It should be noted that the above functional modules are only describedillustratively during a device for setting a position of a functionsetting key of a mobile terminal provided by the foregoing embodiment isdisplaying a function setting key. In practice, the functions may beallocated to different functional modules according as desired. That is,the internal structure of the device may be divided to differentfunctional modules to accomplish all or some of the above describedfunctions. In addition, the device for setting a position of a functionsetting key of a mobile terminal provided by the foregoing embodiment isbased on the same concept as that of the methods for setting a positionof a function setting key of a mobile terminal in the foregoingembodiments. Details may be referred to the method embodiments, and arenot repeated herein.

Embodiment 4

This embodiment of the present invention provides a storage mediumincluding computer executable instructions, when executed by a computerprocessor, the computer executable instructions being used for executinga method for setting a position of a function setting key of a mobileterminal, the method including:

acquiring display information and trigger event information of afunction setting key in a target application program;

-   -   setting the function setting key onto a page of a notification        center according to the acquired display information and trigger        event information of the function setting key;

displaying, when receiving an instruction for opening the notificationcenter, the function setting key on the page of the notification centeraccording to the display information of the function setting key; and

executing, when a detected operation on the function setting keydisplayed on the page of the notification center conforms to a triggeroperation recorded in the trigger event information of the functionsetting key, corresponding processing according to the trigger eventinformation of the function setting key.

Preferably, the method further includes:

acquiring display information and trigger event information of ashortcut icon of an application program;

setting the shortcut icon onto the page of the notification centeraccording to the acquired display information and trigger eventinformation of the shortcut icon;

displaying, when receiving an instruction for opening the notificationcenter, the shortcut icon on the page of the notification centeraccording to the display information of the shortcut icon; and

executing, when a detected operation on the shortcut icon displayed onthe page of the notification center conforms to a trigger operationrecorded in the trigger event information of the shortcut icon, anapplication program corresponding to the shortcut icon.

The sequence numbers of the foregoing embodiments of the presentinvention are merely used for convenience of description, but do notindicate superiority of the embodiments.

Through the above description of the implementation manners, a personskilled in the art may clearly understand that, the present disclosuremay be implemented by using software and necessary common hardware suchas a processor or microcodes stored in a memory, and certainly may alsobe implemented by a combination of hardware and software. Although, inmost cases, the former case using software is a preferred implementationmanner. Based on such understanding, the essence of the technicalsolutions of the present invention or a part contributing to theexisting technology may be reflected in the form of a software product.The computer software product may be stored in a non-transitorycomputer-readable storage medium, such as a floppy disk, a read-onlymemory (ROM), a random access memory (RAM), a flash memory (FLASH), ahard disk, or an optical disc of a computer. The computer softwareproduct includes several instructions that are used for enabling acomputer device (which may be a personal computer, a server, a networkdevice, or the like) to execute the method according to the embodimentsof the present invention.

The above description is merely preferable embodiments of the presentinvention, and is not intended to limit the present disclosure. Anymodification, equivalent replacement and improvement made within thespirit and principle of the present disclosure shall fall within theprotection scope of the present disclosure.

What is claimed is:
 1. A method for setting a position of a functionsetting key of a mobile terminal, comprising: acquiring displayinformation and trigger event information of a function setting key in atarget application program; setting the function setting key onto a pageof a notification center according to the acquired display informationand trigger event information of the function setting key; displaying,when receiving an instruction for opening the notification center, thefunction setting key on the page of the notification center according tothe display information of the function setting key; and executingcorresponding processing according to the trigger event information ofthe function setting key, when a detected operation on the functionsetting key displayed on the page of the notification center conforms toa trigger operation recorded in the trigger event information of thefunction setting key; wherein, a setting page is provided in the targetapplication program to set the function setting key on the page of thenotification center; the setting page displays icons of function settingkeys and a check box for each icon that is set; a checked icon isautomatically arranged in a front position of all function setting keys;when performing a long-press on a checked icon, the icon is dragged to adifferent position; wherein a corresponding function setting keyidentifier is determined according to a checked icon, and correspondingsequence information is determined according to a sequence of thechecked icon; wherein the method further comprises: receiving a keysetting request, wherein the key setting request carries a functionsetting key identifier and sequence information corresponding to thefunction setting key identifier; acquiring display information andtrigger event information of a function setting key which corresponds tothe function setting key identifier in the target application program;and arranging multiple function setting keys on the page of thenotification center according to the sequence information.
 2. The methodaccording to claim 1, wherein the function setting key comprises one orany combination of: a brightness adjustment key, a lock screen key, aflashlight switch, a mute switch, a volume-up key, a volume-down key, apower-off key, a restart key, and a logout key.
 3. The method accordingto claim 2, wherein the brightness adjustment key is configured to:control, by detecting a click operation on the brightness adjustmentkey, screen brightness to switch between preset brightness levels. 4.The method according to claim 2, wherein the brightness adjustment keyis configured to: control, by detecting a duration of a press operationon the brightness adjustment key, screen brightness to change with anincrease of the duration of the press operation.
 5. The method accordingto claim 1, further comprising: acquiring display information andtrigger event information of a shortcut icon of an application program;and setting the shortcut icon onto the page of the notification centeraccording to the acquired display information and trigger eventinformation of the shortcut icon.
 6. The method according to claim 5,further comprising: displaying, when receiving an instruction foropening the notification center, the shortcut icon on the page of thenotification center according to the display information of the shortcuticon; and executing an application program corresponding to the shortcuticon, when a detected operation on the shortcut icon displayed on thepage of the notification center conforms to a trigger operation recordedin the trigger event information of the shortcut icon.
 7. A device forsetting a position of a function setting key of a mobile terminal,comprising at least one processor and a memory havingprocessor-executable instructions stored therein, and the instructionswhen executed by the at least one processor, configure the device to:acquire display information and trigger event information of a functionsetting key in a target application program; set the function settingkey onto a page of a notification center according to the acquireddisplay information and trigger event information of the functionsetting key; display, when receiving an instruction for opening thenotification center, the function setting key on the page of thenotification center according to the display information of the functionsetting key; and execute corresponding processing according to thetrigger event information of the function setting key, when a detectedoperation on the function setting key displayed on the page of thenotification center conforms to a trigger operation recorded in thetrigger event information of the function setting key; wherein, asetting page is provided in the target application program to set thefunction setting key on the page of the notification center; the settingpage displays icons of function setting keys and a check box for eachicon that is set; a checked icon is automatically arranged in a frontposition of all function setting keys; when performing a long-press on achecked icon, the icon is dragged to a different position; acorresponding function setting key identifier is determined according toa checked icon, and corresponding sequence information is determinedaccording to a sequence of the checked icon; wherein the device isfurther configured to: receive a key setting request, wherein the keysetting request carries a function setting key identifier and sequenceinformation corresponding to the function setting key identifier;acquire display information and trigger event information of a functionsetting key, which corresponds to the function setting key identifier inthe target application program; and arrange function setting keys on thepage of the notification center according to the sequence information.8. The device according to claim 7, wherein the function setting keycomprises one or any combination of a brightness adjustment key, a lockscreen key, a flashlight switch, a mute switch, a volume-up key, avolume-down key, a power-off key, a restart key, and a logout key. 9.The device according to claim 8, wherein the brightness adjustment keyis configured to: control, by detecting a click operation on thebrightness adjustment key, screen brightness to switch between presetbrightness levels.
 10. The device according to claim 8, wherein thebrightness adjustment key is configured to: control, by detecting aduration of a press operation on the brightness adjustment key, screenbrightness to change with an increase of the duration of the pressoperation.
 11. The device according to claim 7, wherein the device isfurther configured to acquire display information and trigger eventinformation of a shortcut icon of an application program; and the deviceis further configured to set the shortcut icon onto the page of thenotification center according to the acquired display information andtrigger event information of the shortcut icon.
 12. The device accordingto claim 11, wherein: the device is further configured to display, whenreceiving an instruction for opening the notification center, theshortcut icon on the page of the notification center according to thedisplay information of the shortcut icon; and the device is furtherconfigured to execute, when a detected operation on the shortcut icondisplayed on the page of the notification center conforms to a triggeroperation recorded in the trigger event information of the shortcuticon, an application program corresponding to the shortcut icon.
 13. Anon-transitory computer-readable storage medium comprising computerexecutable instructions, when executed by a computer processor, thecomputer executable instructions being used to configure a mobileterminal set a position of a function setting key, by performing:acquiring display information and trigger event information of afunction setting key in a target application program; setting thefunction setting key onto a page of a notification center according tothe acquired display information and trigger event information of thefunction setting key; displaying, when receiving an instruction foropening the notification center, the function setting key on the page ofthe notification center according to the display information of thefunction setting key; and executing corresponding processing accordingto the trigger event information of the function setting key, when adetected operation on the function setting key displayed on the page ofthe notification center conforms to a trigger operation recorded in thetrigger event information of the function setting key; wherein, asetting page is provided in the target application program to set thefunction setting key on the page of the notification center; the settingpage displays icons of function setting keys and a check box for eachicon that is set; a checked icon is automatically arranged in a frontposition of all function setting keys; when performing a long-press on achecked icon, the icon is dragged to a different position; acorresponding function setting key identifier is determined according toa checked icon, and corresponding sequence information is determinedaccording to a sequence of the checked icon; wherein the computerexecutable instructions further perform: receiving a key settingrequest, wherein the key setting request carries a function setting keyidentifier and sequence information corresponding to the functionsetting key identifier; acquiring display information and trigger eventinformation of a function setting key which corresponds to the functionsetting key identifier in the target application program; and arrangingmultiple function setting keys on the page of the notification centeraccording to the sequence information.
 14. The non-transitorycomputer-readable storage medium according to claim 13, wherein themethod further comprising: acquiring display information and triggerevent information of a shortcut icon of an application program; andsetting the shortcut icon onto the page of the notification centeraccording to the acquired display information and trigger eventinformation of the shortcut icon.
 15. The non-transitorycomputer-readable storage medium according to claim 14, wherein themethod further comprising: displaying, when receiving an instruction foropening the notification center, the shortcut icon on the page of thenotification center according to the display information of the shortcuticon; and executing an application program corresponding to the shortcuticon when a detected operation on the shortcut icon displayed on thepage of the notification center conforms to a trigger operation recordedin the trigger event information of the shortcut icon.